<?php
/**
 * Created by PhpStorm.
 * User: 刘芳
 * Date: 2019/3/31
 * Time: 17:35
 */

namespace app\api\model;


use think\Model;

class BannerItem extends BaseModel
{

    protected $hidden = ['delete_time','update_time','id','img_id','banner_id'];
    public function img(){
        return $this->belongsTo("Image","img_id","id");
    }
}